<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>斗篷 v-cloak</title>
    <style>
    
        /* [] 属性选择器 */
        [v-cloak] {
            display: none
        }
    </style>
    
</head>
<body>

    <script src='/js/vue.js'></script>
    <div id='app'>
       <p v-cloak>{{msg}}</p>

    </div>
    <script>

        setTimeout(function(){   //延迟函数
            let app = new Vue({
                el:'#app',
                data:{
                    msg:'hello word'
                }
            })
        },2000)

       
    </script>
    
</body>
</html>